package com.punai.dataanalysis.srlib.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.math.BigDecimal;

@TableName("analysis_materialmachineprice_info")
public class AnalysisMaterialMachinePriceInfo extends BaseEntity {

    private String id;
    private String materialId;
    private String recordId;

    private BigDecimal tax;
    private BigDecimal priceWithTax;
    private BigDecimal priceWithNotTax;
    private String address;
    private String brand;
    private String remarks;
    private String uploadFilePath;

    private Integer orderNum;
    /**
     * $column.columnComment
     */
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;

    /**
     * $column.columnComment
     */
    @TableField(fill = FieldFill.INSERT)
    private Long userId;

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("id", id)
                .append("materialId", materialId)
                .append("recordId", recordId)
                .append("tax", tax)
                .append("priceWithTax", priceWithTax)
                .append("priceWithNotTax", priceWithNotTax)
                .append("brand", brand)
                .append("uploadFilePath", uploadFilePath)
                .append("orderNum", orderNum)
                .toString();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public BigDecimal getTax() {
        return tax;
    }

    public void setTax(BigDecimal tax) {
        this.tax = tax;
    }

    public BigDecimal getPriceWithTax() {
        return priceWithTax;
    }

    public void setPriceWithTax(BigDecimal priceWithTax) {
        this.priceWithTax = priceWithTax;
    }

    public BigDecimal getPriceWithNotTax() {
        return priceWithNotTax;
    }

    public void setPriceWithNotTax(BigDecimal priceWithNotTax) {
        this.priceWithNotTax = priceWithNotTax;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getUploadFilePath() {
        return uploadFilePath;
    }

    public void setUploadFilePath(String uploadFilePath) {
        this.uploadFilePath = uploadFilePath;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
